package com.dk.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MdVendorExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MdVendorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andVendorIdIsNull() {
            addCriterion("vendor_id is null");
            return (Criteria) this;
        }

        public Criteria andVendorIdIsNotNull() {
            addCriterion("vendor_id is not null");
            return (Criteria) this;
        }

        public Criteria andVendorIdEqualTo(Long value) {
            addCriterion("vendor_id =", value, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorIdNotEqualTo(Long value) {
            addCriterion("vendor_id <>", value, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorIdGreaterThan(Long value) {
            addCriterion("vendor_id >", value, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorIdGreaterThanOrEqualTo(Long value) {
            addCriterion("vendor_id >=", value, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorIdLessThan(Long value) {
            addCriterion("vendor_id <", value, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorIdLessThanOrEqualTo(Long value) {
            addCriterion("vendor_id <=", value, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorIdIn(List<Long> values) {
            addCriterion("vendor_id in", values, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorIdNotIn(List<Long> values) {
            addCriterion("vendor_id not in", values, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorIdBetween(Long value1, Long value2) {
            addCriterion("vendor_id between", value1, value2, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorIdNotBetween(Long value1, Long value2) {
            addCriterion("vendor_id not between", value1, value2, "vendorId");
            return (Criteria) this;
        }

        public Criteria andVendorCodeIsNull() {
            addCriterion("vendor_code is null");
            return (Criteria) this;
        }

        public Criteria andVendorCodeIsNotNull() {
            addCriterion("vendor_code is not null");
            return (Criteria) this;
        }

        public Criteria andVendorCodeEqualTo(String value) {
            addCriterion("vendor_code =", value, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeNotEqualTo(String value) {
            addCriterion("vendor_code <>", value, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeGreaterThan(String value) {
            addCriterion("vendor_code >", value, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeGreaterThanOrEqualTo(String value) {
            addCriterion("vendor_code >=", value, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeLessThan(String value) {
            addCriterion("vendor_code <", value, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeLessThanOrEqualTo(String value) {
            addCriterion("vendor_code <=", value, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeLike(String value) {
            addCriterion("vendor_code like", value, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeNotLike(String value) {
            addCriterion("vendor_code not like", value, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeIn(List<String> values) {
            addCriterion("vendor_code in", values, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeNotIn(List<String> values) {
            addCriterion("vendor_code not in", values, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeBetween(String value1, String value2) {
            addCriterion("vendor_code between", value1, value2, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorCodeNotBetween(String value1, String value2) {
            addCriterion("vendor_code not between", value1, value2, "vendorCode");
            return (Criteria) this;
        }

        public Criteria andVendorNameIsNull() {
            addCriterion("vendor_name is null");
            return (Criteria) this;
        }

        public Criteria andVendorNameIsNotNull() {
            addCriterion("vendor_name is not null");
            return (Criteria) this;
        }

        public Criteria andVendorNameEqualTo(String value) {
            addCriterion("vendor_name =", value, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameNotEqualTo(String value) {
            addCriterion("vendor_name <>", value, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameGreaterThan(String value) {
            addCriterion("vendor_name >", value, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameGreaterThanOrEqualTo(String value) {
            addCriterion("vendor_name >=", value, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameLessThan(String value) {
            addCriterion("vendor_name <", value, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameLessThanOrEqualTo(String value) {
            addCriterion("vendor_name <=", value, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameLike(String value) {
            addCriterion("vendor_name like", value, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameNotLike(String value) {
            addCriterion("vendor_name not like", value, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameIn(List<String> values) {
            addCriterion("vendor_name in", values, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameNotIn(List<String> values) {
            addCriterion("vendor_name not in", values, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameBetween(String value1, String value2) {
            addCriterion("vendor_name between", value1, value2, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNameNotBetween(String value1, String value2) {
            addCriterion("vendor_name not between", value1, value2, "vendorName");
            return (Criteria) this;
        }

        public Criteria andVendorNickIsNull() {
            addCriterion("vendor_nick is null");
            return (Criteria) this;
        }

        public Criteria andVendorNickIsNotNull() {
            addCriterion("vendor_nick is not null");
            return (Criteria) this;
        }

        public Criteria andVendorNickEqualTo(String value) {
            addCriterion("vendor_nick =", value, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickNotEqualTo(String value) {
            addCriterion("vendor_nick <>", value, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickGreaterThan(String value) {
            addCriterion("vendor_nick >", value, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickGreaterThanOrEqualTo(String value) {
            addCriterion("vendor_nick >=", value, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickLessThan(String value) {
            addCriterion("vendor_nick <", value, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickLessThanOrEqualTo(String value) {
            addCriterion("vendor_nick <=", value, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickLike(String value) {
            addCriterion("vendor_nick like", value, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickNotLike(String value) {
            addCriterion("vendor_nick not like", value, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickIn(List<String> values) {
            addCriterion("vendor_nick in", values, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickNotIn(List<String> values) {
            addCriterion("vendor_nick not in", values, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickBetween(String value1, String value2) {
            addCriterion("vendor_nick between", value1, value2, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorNickNotBetween(String value1, String value2) {
            addCriterion("vendor_nick not between", value1, value2, "vendorNick");
            return (Criteria) this;
        }

        public Criteria andVendorEnIsNull() {
            addCriterion("vendor_en is null");
            return (Criteria) this;
        }

        public Criteria andVendorEnIsNotNull() {
            addCriterion("vendor_en is not null");
            return (Criteria) this;
        }

        public Criteria andVendorEnEqualTo(String value) {
            addCriterion("vendor_en =", value, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnNotEqualTo(String value) {
            addCriterion("vendor_en <>", value, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnGreaterThan(String value) {
            addCriterion("vendor_en >", value, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnGreaterThanOrEqualTo(String value) {
            addCriterion("vendor_en >=", value, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnLessThan(String value) {
            addCriterion("vendor_en <", value, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnLessThanOrEqualTo(String value) {
            addCriterion("vendor_en <=", value, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnLike(String value) {
            addCriterion("vendor_en like", value, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnNotLike(String value) {
            addCriterion("vendor_en not like", value, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnIn(List<String> values) {
            addCriterion("vendor_en in", values, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnNotIn(List<String> values) {
            addCriterion("vendor_en not in", values, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnBetween(String value1, String value2) {
            addCriterion("vendor_en between", value1, value2, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorEnNotBetween(String value1, String value2) {
            addCriterion("vendor_en not between", value1, value2, "vendorEn");
            return (Criteria) this;
        }

        public Criteria andVendorDesIsNull() {
            addCriterion("vendor_des is null");
            return (Criteria) this;
        }

        public Criteria andVendorDesIsNotNull() {
            addCriterion("vendor_des is not null");
            return (Criteria) this;
        }

        public Criteria andVendorDesEqualTo(String value) {
            addCriterion("vendor_des =", value, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesNotEqualTo(String value) {
            addCriterion("vendor_des <>", value, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesGreaterThan(String value) {
            addCriterion("vendor_des >", value, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesGreaterThanOrEqualTo(String value) {
            addCriterion("vendor_des >=", value, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesLessThan(String value) {
            addCriterion("vendor_des <", value, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesLessThanOrEqualTo(String value) {
            addCriterion("vendor_des <=", value, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesLike(String value) {
            addCriterion("vendor_des like", value, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesNotLike(String value) {
            addCriterion("vendor_des not like", value, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesIn(List<String> values) {
            addCriterion("vendor_des in", values, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesNotIn(List<String> values) {
            addCriterion("vendor_des not in", values, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesBetween(String value1, String value2) {
            addCriterion("vendor_des between", value1, value2, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorDesNotBetween(String value1, String value2) {
            addCriterion("vendor_des not between", value1, value2, "vendorDes");
            return (Criteria) this;
        }

        public Criteria andVendorLogoIsNull() {
            addCriterion("vendor_logo is null");
            return (Criteria) this;
        }

        public Criteria andVendorLogoIsNotNull() {
            addCriterion("vendor_logo is not null");
            return (Criteria) this;
        }

        public Criteria andVendorLogoEqualTo(String value) {
            addCriterion("vendor_logo =", value, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoNotEqualTo(String value) {
            addCriterion("vendor_logo <>", value, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoGreaterThan(String value) {
            addCriterion("vendor_logo >", value, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoGreaterThanOrEqualTo(String value) {
            addCriterion("vendor_logo >=", value, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoLessThan(String value) {
            addCriterion("vendor_logo <", value, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoLessThanOrEqualTo(String value) {
            addCriterion("vendor_logo <=", value, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoLike(String value) {
            addCriterion("vendor_logo like", value, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoNotLike(String value) {
            addCriterion("vendor_logo not like", value, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoIn(List<String> values) {
            addCriterion("vendor_logo in", values, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoNotIn(List<String> values) {
            addCriterion("vendor_logo not in", values, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoBetween(String value1, String value2) {
            addCriterion("vendor_logo between", value1, value2, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLogoNotBetween(String value1, String value2) {
            addCriterion("vendor_logo not between", value1, value2, "vendorLogo");
            return (Criteria) this;
        }

        public Criteria andVendorLevelIsNull() {
            addCriterion("vendor_level is null");
            return (Criteria) this;
        }

        public Criteria andVendorLevelIsNotNull() {
            addCriterion("vendor_level is not null");
            return (Criteria) this;
        }

        public Criteria andVendorLevelEqualTo(String value) {
            addCriterion("vendor_level =", value, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelNotEqualTo(String value) {
            addCriterion("vendor_level <>", value, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelGreaterThan(String value) {
            addCriterion("vendor_level >", value, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelGreaterThanOrEqualTo(String value) {
            addCriterion("vendor_level >=", value, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelLessThan(String value) {
            addCriterion("vendor_level <", value, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelLessThanOrEqualTo(String value) {
            addCriterion("vendor_level <=", value, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelLike(String value) {
            addCriterion("vendor_level like", value, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelNotLike(String value) {
            addCriterion("vendor_level not like", value, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelIn(List<String> values) {
            addCriterion("vendor_level in", values, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelNotIn(List<String> values) {
            addCriterion("vendor_level not in", values, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelBetween(String value1, String value2) {
            addCriterion("vendor_level between", value1, value2, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorLevelNotBetween(String value1, String value2) {
            addCriterion("vendor_level not between", value1, value2, "vendorLevel");
            return (Criteria) this;
        }

        public Criteria andVendorScoreIsNull() {
            addCriterion("vendor_score is null");
            return (Criteria) this;
        }

        public Criteria andVendorScoreIsNotNull() {
            addCriterion("vendor_score is not null");
            return (Criteria) this;
        }

        public Criteria andVendorScoreEqualTo(Integer value) {
            addCriterion("vendor_score =", value, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andVendorScoreNotEqualTo(Integer value) {
            addCriterion("vendor_score <>", value, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andVendorScoreGreaterThan(Integer value) {
            addCriterion("vendor_score >", value, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andVendorScoreGreaterThanOrEqualTo(Integer value) {
            addCriterion("vendor_score >=", value, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andVendorScoreLessThan(Integer value) {
            addCriterion("vendor_score <", value, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andVendorScoreLessThanOrEqualTo(Integer value) {
            addCriterion("vendor_score <=", value, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andVendorScoreIn(List<Integer> values) {
            addCriterion("vendor_score in", values, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andVendorScoreNotIn(List<Integer> values) {
            addCriterion("vendor_score not in", values, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andVendorScoreBetween(Integer value1, Integer value2) {
            addCriterion("vendor_score between", value1, value2, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andVendorScoreNotBetween(Integer value1, Integer value2) {
            addCriterion("vendor_score not between", value1, value2, "vendorScore");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andWebsiteIsNull() {
            addCriterion("website is null");
            return (Criteria) this;
        }

        public Criteria andWebsiteIsNotNull() {
            addCriterion("website is not null");
            return (Criteria) this;
        }

        public Criteria andWebsiteEqualTo(String value) {
            addCriterion("website =", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotEqualTo(String value) {
            addCriterion("website <>", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteGreaterThan(String value) {
            addCriterion("website >", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteGreaterThanOrEqualTo(String value) {
            addCriterion("website >=", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteLessThan(String value) {
            addCriterion("website <", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteLessThanOrEqualTo(String value) {
            addCriterion("website <=", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteLike(String value) {
            addCriterion("website like", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotLike(String value) {
            addCriterion("website not like", value, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteIn(List<String> values) {
            addCriterion("website in", values, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotIn(List<String> values) {
            addCriterion("website not in", values, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteBetween(String value1, String value2) {
            addCriterion("website between", value1, value2, "website");
            return (Criteria) this;
        }

        public Criteria andWebsiteNotBetween(String value1, String value2) {
            addCriterion("website not between", value1, value2, "website");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andTelIsNull() {
            addCriterion("tel is null");
            return (Criteria) this;
        }

        public Criteria andTelIsNotNull() {
            addCriterion("tel is not null");
            return (Criteria) this;
        }

        public Criteria andTelEqualTo(String value) {
            addCriterion("tel =", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotEqualTo(String value) {
            addCriterion("tel <>", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelGreaterThan(String value) {
            addCriterion("tel >", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelGreaterThanOrEqualTo(String value) {
            addCriterion("tel >=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLessThan(String value) {
            addCriterion("tel <", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLessThanOrEqualTo(String value) {
            addCriterion("tel <=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLike(String value) {
            addCriterion("tel like", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotLike(String value) {
            addCriterion("tel not like", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelIn(List<String> values) {
            addCriterion("tel in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotIn(List<String> values) {
            addCriterion("tel not in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andTelBetween(String value1, String value2) {
            addCriterion("tel between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotBetween(String value1, String value2) {
            addCriterion("tel not between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andContact1IsNull() {
            addCriterion("contact1 is null");
            return (Criteria) this;
        }

        public Criteria andContact1IsNotNull() {
            addCriterion("contact1 is not null");
            return (Criteria) this;
        }

        public Criteria andContact1EqualTo(String value) {
            addCriterion("contact1 =", value, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1NotEqualTo(String value) {
            addCriterion("contact1 <>", value, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1GreaterThan(String value) {
            addCriterion("contact1 >", value, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1GreaterThanOrEqualTo(String value) {
            addCriterion("contact1 >=", value, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1LessThan(String value) {
            addCriterion("contact1 <", value, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1LessThanOrEqualTo(String value) {
            addCriterion("contact1 <=", value, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1Like(String value) {
            addCriterion("contact1 like", value, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1NotLike(String value) {
            addCriterion("contact1 not like", value, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1In(List<String> values) {
            addCriterion("contact1 in", values, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1NotIn(List<String> values) {
            addCriterion("contact1 not in", values, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1Between(String value1, String value2) {
            addCriterion("contact1 between", value1, value2, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1NotBetween(String value1, String value2) {
            addCriterion("contact1 not between", value1, value2, "contact1");
            return (Criteria) this;
        }

        public Criteria andContact1TelIsNull() {
            addCriterion("contact1_tel is null");
            return (Criteria) this;
        }

        public Criteria andContact1TelIsNotNull() {
            addCriterion("contact1_tel is not null");
            return (Criteria) this;
        }

        public Criteria andContact1TelEqualTo(String value) {
            addCriterion("contact1_tel =", value, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelNotEqualTo(String value) {
            addCriterion("contact1_tel <>", value, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelGreaterThan(String value) {
            addCriterion("contact1_tel >", value, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelGreaterThanOrEqualTo(String value) {
            addCriterion("contact1_tel >=", value, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelLessThan(String value) {
            addCriterion("contact1_tel <", value, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelLessThanOrEqualTo(String value) {
            addCriterion("contact1_tel <=", value, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelLike(String value) {
            addCriterion("contact1_tel like", value, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelNotLike(String value) {
            addCriterion("contact1_tel not like", value, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelIn(List<String> values) {
            addCriterion("contact1_tel in", values, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelNotIn(List<String> values) {
            addCriterion("contact1_tel not in", values, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelBetween(String value1, String value2) {
            addCriterion("contact1_tel between", value1, value2, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1TelNotBetween(String value1, String value2) {
            addCriterion("contact1_tel not between", value1, value2, "contact1Tel");
            return (Criteria) this;
        }

        public Criteria andContact1EmailIsNull() {
            addCriterion("contact1_email is null");
            return (Criteria) this;
        }

        public Criteria andContact1EmailIsNotNull() {
            addCriterion("contact1_email is not null");
            return (Criteria) this;
        }

        public Criteria andContact1EmailEqualTo(String value) {
            addCriterion("contact1_email =", value, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailNotEqualTo(String value) {
            addCriterion("contact1_email <>", value, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailGreaterThan(String value) {
            addCriterion("contact1_email >", value, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailGreaterThanOrEqualTo(String value) {
            addCriterion("contact1_email >=", value, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailLessThan(String value) {
            addCriterion("contact1_email <", value, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailLessThanOrEqualTo(String value) {
            addCriterion("contact1_email <=", value, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailLike(String value) {
            addCriterion("contact1_email like", value, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailNotLike(String value) {
            addCriterion("contact1_email not like", value, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailIn(List<String> values) {
            addCriterion("contact1_email in", values, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailNotIn(List<String> values) {
            addCriterion("contact1_email not in", values, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailBetween(String value1, String value2) {
            addCriterion("contact1_email between", value1, value2, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact1EmailNotBetween(String value1, String value2) {
            addCriterion("contact1_email not between", value1, value2, "contact1Email");
            return (Criteria) this;
        }

        public Criteria andContact2IsNull() {
            addCriterion("contact2 is null");
            return (Criteria) this;
        }

        public Criteria andContact2IsNotNull() {
            addCriterion("contact2 is not null");
            return (Criteria) this;
        }

        public Criteria andContact2EqualTo(String value) {
            addCriterion("contact2 =", value, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2NotEqualTo(String value) {
            addCriterion("contact2 <>", value, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2GreaterThan(String value) {
            addCriterion("contact2 >", value, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2GreaterThanOrEqualTo(String value) {
            addCriterion("contact2 >=", value, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2LessThan(String value) {
            addCriterion("contact2 <", value, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2LessThanOrEqualTo(String value) {
            addCriterion("contact2 <=", value, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2Like(String value) {
            addCriterion("contact2 like", value, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2NotLike(String value) {
            addCriterion("contact2 not like", value, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2In(List<String> values) {
            addCriterion("contact2 in", values, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2NotIn(List<String> values) {
            addCriterion("contact2 not in", values, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2Between(String value1, String value2) {
            addCriterion("contact2 between", value1, value2, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2NotBetween(String value1, String value2) {
            addCriterion("contact2 not between", value1, value2, "contact2");
            return (Criteria) this;
        }

        public Criteria andContact2TelIsNull() {
            addCriterion("contact2_tel is null");
            return (Criteria) this;
        }

        public Criteria andContact2TelIsNotNull() {
            addCriterion("contact2_tel is not null");
            return (Criteria) this;
        }

        public Criteria andContact2TelEqualTo(String value) {
            addCriterion("contact2_tel =", value, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelNotEqualTo(String value) {
            addCriterion("contact2_tel <>", value, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelGreaterThan(String value) {
            addCriterion("contact2_tel >", value, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelGreaterThanOrEqualTo(String value) {
            addCriterion("contact2_tel >=", value, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelLessThan(String value) {
            addCriterion("contact2_tel <", value, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelLessThanOrEqualTo(String value) {
            addCriterion("contact2_tel <=", value, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelLike(String value) {
            addCriterion("contact2_tel like", value, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelNotLike(String value) {
            addCriterion("contact2_tel not like", value, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelIn(List<String> values) {
            addCriterion("contact2_tel in", values, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelNotIn(List<String> values) {
            addCriterion("contact2_tel not in", values, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelBetween(String value1, String value2) {
            addCriterion("contact2_tel between", value1, value2, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2TelNotBetween(String value1, String value2) {
            addCriterion("contact2_tel not between", value1, value2, "contact2Tel");
            return (Criteria) this;
        }

        public Criteria andContact2EmailIsNull() {
            addCriterion("contact2_email is null");
            return (Criteria) this;
        }

        public Criteria andContact2EmailIsNotNull() {
            addCriterion("contact2_email is not null");
            return (Criteria) this;
        }

        public Criteria andContact2EmailEqualTo(String value) {
            addCriterion("contact2_email =", value, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailNotEqualTo(String value) {
            addCriterion("contact2_email <>", value, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailGreaterThan(String value) {
            addCriterion("contact2_email >", value, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailGreaterThanOrEqualTo(String value) {
            addCriterion("contact2_email >=", value, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailLessThan(String value) {
            addCriterion("contact2_email <", value, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailLessThanOrEqualTo(String value) {
            addCriterion("contact2_email <=", value, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailLike(String value) {
            addCriterion("contact2_email like", value, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailNotLike(String value) {
            addCriterion("contact2_email not like", value, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailIn(List<String> values) {
            addCriterion("contact2_email in", values, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailNotIn(List<String> values) {
            addCriterion("contact2_email not in", values, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailBetween(String value1, String value2) {
            addCriterion("contact2_email between", value1, value2, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andContact2EmailNotBetween(String value1, String value2) {
            addCriterion("contact2_email not between", value1, value2, "contact2Email");
            return (Criteria) this;
        }

        public Criteria andCreditCodeIsNull() {
            addCriterion("credit_code is null");
            return (Criteria) this;
        }

        public Criteria andCreditCodeIsNotNull() {
            addCriterion("credit_code is not null");
            return (Criteria) this;
        }

        public Criteria andCreditCodeEqualTo(String value) {
            addCriterion("credit_code =", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeNotEqualTo(String value) {
            addCriterion("credit_code <>", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeGreaterThan(String value) {
            addCriterion("credit_code >", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeGreaterThanOrEqualTo(String value) {
            addCriterion("credit_code >=", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeLessThan(String value) {
            addCriterion("credit_code <", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeLessThanOrEqualTo(String value) {
            addCriterion("credit_code <=", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeLike(String value) {
            addCriterion("credit_code like", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeNotLike(String value) {
            addCriterion("credit_code not like", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeIn(List<String> values) {
            addCriterion("credit_code in", values, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeNotIn(List<String> values) {
            addCriterion("credit_code not in", values, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeBetween(String value1, String value2) {
            addCriterion("credit_code between", value1, value2, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeNotBetween(String value1, String value2) {
            addCriterion("credit_code not between", value1, value2, "creditCode");
            return (Criteria) this;
        }

        public Criteria andEnableFlagIsNull() {
            addCriterion("enable_flag is null");
            return (Criteria) this;
        }

        public Criteria andEnableFlagIsNotNull() {
            addCriterion("enable_flag is not null");
            return (Criteria) this;
        }

        public Criteria andEnableFlagEqualTo(String value) {
            addCriterion("enable_flag =", value, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagNotEqualTo(String value) {
            addCriterion("enable_flag <>", value, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagGreaterThan(String value) {
            addCriterion("enable_flag >", value, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagGreaterThanOrEqualTo(String value) {
            addCriterion("enable_flag >=", value, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagLessThan(String value) {
            addCriterion("enable_flag <", value, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagLessThanOrEqualTo(String value) {
            addCriterion("enable_flag <=", value, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagLike(String value) {
            addCriterion("enable_flag like", value, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagNotLike(String value) {
            addCriterion("enable_flag not like", value, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagIn(List<String> values) {
            addCriterion("enable_flag in", values, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagNotIn(List<String> values) {
            addCriterion("enable_flag not in", values, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagBetween(String value1, String value2) {
            addCriterion("enable_flag between", value1, value2, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andEnableFlagNotBetween(String value1, String value2) {
            addCriterion("enable_flag not between", value1, value2, "enableFlag");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andAttr1IsNull() {
            addCriterion("attr1 is null");
            return (Criteria) this;
        }

        public Criteria andAttr1IsNotNull() {
            addCriterion("attr1 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr1EqualTo(String value) {
            addCriterion("attr1 =", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotEqualTo(String value) {
            addCriterion("attr1 <>", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1GreaterThan(String value) {
            addCriterion("attr1 >", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1GreaterThanOrEqualTo(String value) {
            addCriterion("attr1 >=", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1LessThan(String value) {
            addCriterion("attr1 <", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1LessThanOrEqualTo(String value) {
            addCriterion("attr1 <=", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1Like(String value) {
            addCriterion("attr1 like", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotLike(String value) {
            addCriterion("attr1 not like", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1In(List<String> values) {
            addCriterion("attr1 in", values, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotIn(List<String> values) {
            addCriterion("attr1 not in", values, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1Between(String value1, String value2) {
            addCriterion("attr1 between", value1, value2, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotBetween(String value1, String value2) {
            addCriterion("attr1 not between", value1, value2, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr2IsNull() {
            addCriterion("attr2 is null");
            return (Criteria) this;
        }

        public Criteria andAttr2IsNotNull() {
            addCriterion("attr2 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr2EqualTo(String value) {
            addCriterion("attr2 =", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotEqualTo(String value) {
            addCriterion("attr2 <>", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2GreaterThan(String value) {
            addCriterion("attr2 >", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2GreaterThanOrEqualTo(String value) {
            addCriterion("attr2 >=", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2LessThan(String value) {
            addCriterion("attr2 <", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2LessThanOrEqualTo(String value) {
            addCriterion("attr2 <=", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2Like(String value) {
            addCriterion("attr2 like", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotLike(String value) {
            addCriterion("attr2 not like", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2In(List<String> values) {
            addCriterion("attr2 in", values, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotIn(List<String> values) {
            addCriterion("attr2 not in", values, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2Between(String value1, String value2) {
            addCriterion("attr2 between", value1, value2, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotBetween(String value1, String value2) {
            addCriterion("attr2 not between", value1, value2, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr3IsNull() {
            addCriterion("attr3 is null");
            return (Criteria) this;
        }

        public Criteria andAttr3IsNotNull() {
            addCriterion("attr3 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr3EqualTo(Integer value) {
            addCriterion("attr3 =", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotEqualTo(Integer value) {
            addCriterion("attr3 <>", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3GreaterThan(Integer value) {
            addCriterion("attr3 >", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3GreaterThanOrEqualTo(Integer value) {
            addCriterion("attr3 >=", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3LessThan(Integer value) {
            addCriterion("attr3 <", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3LessThanOrEqualTo(Integer value) {
            addCriterion("attr3 <=", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3In(List<Integer> values) {
            addCriterion("attr3 in", values, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotIn(List<Integer> values) {
            addCriterion("attr3 not in", values, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3Between(Integer value1, Integer value2) {
            addCriterion("attr3 between", value1, value2, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotBetween(Integer value1, Integer value2) {
            addCriterion("attr3 not between", value1, value2, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr4IsNull() {
            addCriterion("attr4 is null");
            return (Criteria) this;
        }

        public Criteria andAttr4IsNotNull() {
            addCriterion("attr4 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr4EqualTo(Integer value) {
            addCriterion("attr4 =", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4NotEqualTo(Integer value) {
            addCriterion("attr4 <>", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4GreaterThan(Integer value) {
            addCriterion("attr4 >", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4GreaterThanOrEqualTo(Integer value) {
            addCriterion("attr4 >=", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4LessThan(Integer value) {
            addCriterion("attr4 <", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4LessThanOrEqualTo(Integer value) {
            addCriterion("attr4 <=", value, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4In(List<Integer> values) {
            addCriterion("attr4 in", values, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4NotIn(List<Integer> values) {
            addCriterion("attr4 not in", values, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4Between(Integer value1, Integer value2) {
            addCriterion("attr4 between", value1, value2, "attr4");
            return (Criteria) this;
        }

        public Criteria andAttr4NotBetween(Integer value1, Integer value2) {
            addCriterion("attr4 not between", value1, value2, "attr4");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}